// Flash animation
.flash{
  animation: flashAnim linear 1s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: flashAnim linear 1s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: flashAnim linear 1s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: flashAnim linear 1s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: flashAnim linear 1s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

@keyframes flashAnim{
  0% {
    opacity:1;
  }
  28% {
    opacity:0;
  }
  50% {
    opacity:0.91;
  }
  74% {
    opacity:0.18;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes flashAnim{
  0% {
    opacity:1;
  }
  28% {
    opacity:0;
  }
  50% {
    opacity:0.91;
  }
  74% {
    opacity:0.18;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes flashAnim {
  0% {
    opacity:1;
  }
  28% {
    opacity:0;
  }
  50% {
    opacity:0.91;
  }
  74% {
    opacity:0.18;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes flashAnim {
  0% {
    opacity:1;
  }
  28% {
    opacity:0;
  }
  50% {
    opacity:0.91;
  }
  74% {
    opacity:0.18;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes flashAnim {
  0% {
    opacity:1;
  }
  28% {
    opacity:0;
  }
  50% {
    opacity:0.91;
  }
  74% {
    opacity:0.18;
  }
  100% {
    opacity:1;
  }
}